﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Whoever.Website.UserControls
{
    public partial class ValidatorTextBox : System.Web.UI.UserControl//CONTINUAR: registrar script dependiendo el validation type
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            InitializeControl();
        }

        #region PROPERTIES

        public string ErrorMessage { get; set; }

        public string RightMessage { get; set; }

        public ValidationType ValidationType { get; set; }

        #endregion

        #region METHODS

        protected void InitializeControl()
        {
            DivMessage.Style.Add("width", "0px");
            ImageMessage.Style.Add("display","");//Inicializar invisible
        }





        #endregion






    }
}